//
//  CCPoint3D.h
//  bailian
//
//  Created by loading on 12-11-14.
//
//

#ifndef bailian_CCPoint3D_h
#define bailian_CCPoint3D_h


#include "cocos2d.h"

USING_NS_CC;

class CCPoint3D:public CCPoint{
public:
    float z;
    
    CCPoint3D();
    
    CCPoint3D(float x, float y,float z);
    
    CCPoint3D(const CCPoint3D& other);
    
    CCPoint3D& operator= (const CCPoint3D& other);
    
    void setPoint(float x, float y,float z);
    
    virtual CCPoint3D* copyWithZone(CCZone* pZone);
    
    bool equals(const CCPoint3D& target) const;
    
public:
    /** @deprecated use CCPoint::equals(const CCPoint&) instead, like p1.equals(p2)
     */
    CC_DEPRECATED_ATTRIBUTE static bool CCPointEqualToPoint(const CCPoint3D& point1, const CCPoint3D& point2);

};
#endif
